package com.sanbi.erp.db.util;

import com.sanbi.erp.core.config.CommonConfig;
import com.sanbi.erp.core.util.CommonConfigUtil;

/**
 * @introduce: 用户服务
 * @Date: 2022/8/19 10:21
 * @Author: XYP
 */
public class UserUtil {
    public static final String APP_DEFAULT_AVATAR; // 用户头像地址

    // 支付信息标识：0 未填写、【1 已填写】
    public static final Byte HAS_PAY_INFO_ZERO = 0;
    public static final Byte HAS_PAY_INFO_ONE = 1;

    // 【1 提现处理中（提现申请）】、2 提现成功、3 提现失败
    public static final Short STATUS_ONE = 1;
    public static final Short STATUS_TWO = 2;
    public static final Short STATUS_THREE = 3;

    static {
        // 使用工具类，获取地址连接
        CommonConfig commonConfig = CommonConfigUtil.get();
        APP_DEFAULT_AVATAR = commonConfig.getAppDefaultAvatar();
    }
}
